// 本页面用于封装所有需要引入的自定义样式
// import ZkyInput from "./input/index";
import ZkyError from "./Error/index";
import ZKYPopup from "./Popup/index";
import ZKYBadge from "./Badge/index";
// import ZKYSwitch from "./Switch/index";
import { App } from "vue";

// const components = [ZkyInput, ZkyError, ZKYPopup, ZKYBadge, ZKYSwitch];
const components = [ZkyError, ZKYPopup, ZKYBadge];

/* 让这个组件可以通过use的形式使用 */
export default {
  install(app: App) {
    components.forEach((item) => {
      app.use(item);
    });
  },
};
